/* 主容器 */
.home-container {
  min-height: 100vh;
  background-color: #f8f9fa;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
}

/* 主要内容区域 */
.main-content {
  width: 100%;
  padding: 0; /* 移除内边距，让轮播图撑满 */
  box-sizing: border-box;
  min-height: calc(100vh - 80px); /* 减去导航栏高度 */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 内容左对齐 */
}

/* 轮播图区域容器 */
.carousel-section {
  width: 100%;
  position: relative;
}

.searchbar-pop-wrapper {
  position: absolute;
  left: 0;
  right: 0;
  top: 40px; /* 可根据轮播图内容微调 */
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
}

/* 分类按钮区域容器 */
.category-section-wrapper {
  width: 100%;
  padding: 40px 24px;
  background-color: #f8f9fa;
  box-sizing: border-box;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .category-section-wrapper {
    padding: 24px 16px;
  }
}

/* 热门搜索弹窗样式 */
.hot-search-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.15);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.hot-search-modal {
  margin-top: 90px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 36px 32px 24px;
  min-width: 520px;
  min-height: 320px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: auto;
}
.hot-search-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 18px;
}
.hot-search-list {
  display: flex;
  gap: 32px;
}
.hot-search-left, .hot-search-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hot-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  background: linear-gradient(90deg, #fff6f6 0%, #fff 100%);
  border-radius: 10px;
  padding: 6px 12px 6px 6px;
  min-width: 120px;
  position: relative;
}
.hot-search-img {
  width: 48px;
  height: 64px;
  background: #eee;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hot-badge {
  background: #ff4444;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 6px;
  padding: 2px 8px;
  margin-left: 6px;
}
.hot-search-pop {
  position: absolute;
  top: 56px; /* 搜索框高度+间距 */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 32px 36px 32px 24px;
  min-width: 520px;
  min-height: 320px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: auto;
  z-index: 100;
} 